package decisionLines.model;
 
/**
 * Class for the Edge
 */
public class Edge {
	int left;
	int height;
	int right;
	
	/**
	 * Constructor: Edge
	 * @param left - The left point of the edge (int)
	 * @param height - The height of the edge on the line (int)
	 * @param right - The right point of the edge (int)
	 */
	public Edge(int left, int height, int right){
		this.left = left;
		this.height = height;
		this.right = right;
	}
	
	/**
	 * Retrieves the height of the edge
	 * @return Int - Height of the edge on the line
	 */
	public int getHeight(){
		return height;
	}
	
	/**
	 * Retrieves the left point of the edge
	 * @return Int - Left point of the edge
	 */
	public int getLeft(){
		return left;
	}
	
	/**
	 * Retrieves the right point of the edge
	 * @return Int - Right point of the edge
	 */
	public int getRight(){
		return right;
	}
}
